package com.zly.lab.blog.entity;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
@Data
@ToString
public class Article implements Serializable {
    private Integer id; //文章id
    private String title; //文章标题
    private String content; //文章内容
    private Date created; //文章创建时间
    private Date modified;//文章修改时间
    private String categories;//文章分类
    private String tags;//文章标签
    private Boolean allowComment;//是否以允许评论,默认为true
    private String thumbnail;//文章缩略图
    private Integer hits; //文章点击量
    private Integer commentsNum;  //文章评论量
    private Integer status; //
}
